package shili;

import org.aopalliance.intercept.Joinpoint;

import java.util.logging.Logger;

/**
 * AfterLogger
 *
 * @author boy
 * @since 2023/10/16
 */
@Aspect
public class AfterLogger {
    private static final Logger log=Logger.getLogger(String.valueOf(AfterLogger.class));
    @After("execution(* service.UserService.*(..))")
    public void afterLogger(Joinpoint jp){
        log.info(jp.getSignature().getName()+"方法结束执行");
    }
}
